﻿using Avalon.Core.MVC.Attributes;
using System;

namespace Avalon.Core.Data
{
    [IgnoreEntity]
    public class BaseAuditableEntity : BaseEntity, IAuditable
    {
        [RenderMode(MVC.Attributes.RenderMode.None)]
        public string CreatedBy { get; set; }
        [RenderMode(MVC.Attributes.RenderMode.None)]
        public DateTime CreatedOn { get; set; }
        [RenderMode(MVC.Attributes.RenderMode.None)]
        public string ModifiedBy { get; set; }
        [RenderMode(MVC.Attributes.RenderMode.None)]
        public DateTime? ModifiedOn { get; set; }
    }
}
